'\" t
.\"     Title: function::proc_mem_string
.\"    Author: 
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
.\"      Date: March 2016
.\"    Manual: Memory Tapset
.\"    Source: SystemTap Tapset Reference
.\"  Language: English
.\"
.TH "FUNCTION::PROC_MEM_S" "3stap" "March 2016" "SystemTap Tapset Reference" "Memory Tapset"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el       .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
function::proc_mem_string \- Human readable string of process memory usage
.SH "SYNOPSIS"
.sp
.nf
1) proc_mem_string:string()
.fi
.sp
.nf
2) proc_mem_string:string(pid:long)
.fi
.SH "ARGUMENTS"
.PP
\fIpid\fR
.RS 4
The pid of process to examine
.RE
.SH "DESCRIPTION"
.PP
1) Returns a human readable string showing the size, rss, shr, txt and data of the memory used by the current process\&. For example\(lqsize: 301m, rss: 11m, shr: 8m, txt: 52k, data: 2248k\(rq\&.
.PP
2) Returns a human readable string showing the size, rss, shr, txt and data of the memory used by the given process\&. For example\(lqsize: 301m, rss: 11m, shr: 8m, txt: 52k, data: 2248k\(rq\&.
.SH SEE ALSO\n 
.IR tapset::proc_mem (3stap)
